<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="css/swiper.min.css">
    <style>
        *{
            margin:0px;
            padding:0px;
        }
        .book_content{
            width:1240px;
            height:800px;
            background-color:#f6f6f6;
            margin-left:130px;
        }
        .book_content_left{
            width:900px;
            height:60px;
            background-color:#ffff;
            margin-top:-790px;
            margin-left:20px;
        }
        .book_content_right{
            width:300px;
            height:600px;
            background-color:#ffff;
            float:right;
            top:20px;
            margin-top:-60px;
        }
        .book_content_right img{
            width:300px;
        }
    </style>
</head>
<body>
    {% block content%}
    <div class="book_content">
        <div class="book_content_left">
            <ul>
                {% for item in result %}
                <li>{{item.id}}</li>
                <li>{{item.title}}</li>
                {% endfor%}
            </ul>
    

          

        </div>
        <div class="book_content_right">
            <div class="swiper-container">
                <div class="swiper-wrapper">
                    <div class="swiper-slide">
                        <img src="/images/images1.jpg" alt="">
                    </div>
                    <div class="swiper-slide">
                        <img src="/images/images2.jpg" alt="">
                    </div>
                    <div class="swiper-slide">
                        <img src="/images/images3.jpg" alt="">
                    </div>
                </div>
                <p class="two">精选</p> 
                 <!-- 如果需要导航按钮 -->
                <div class="swiper-button-prev"></div>
                <div class="swiper-button-next"></div>
            </div>
            <script src = "js/swiper.min.js"></script>

        </div>
   
    </div>
    {% endblock %}
</body>
</html>